<template>
  <div class="myapp">
    <navbar :tabs = 'tabs'></navbar>
  </div>
</template>
<script type="text/ecmascript-6">;
import navbar from 'components/navbar/navbar';
export default {
   props: {
      tabs: {
        type: Object,
        default: function () {
          return {
            'data': [{name: '日记', id: 'rj'}, {name: '相册', id: 'xc'}, {name: '足迹', id: 'zj'}],
            'checked': 'rj'
          };
        }
      }
    },
  created() {
  },
  components: {
    navbar
  }
};
</script>
<style lang="stylus" rel="stylesheet/stylus">
.myapp
  height 100%
  width 100%
</style>
